Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat(ci): validate project fields in prs and issues #374

Conversation

stevenj
Copy link
Collaborator

@stevenj stevenj commented Jan 31, 2025

Description

Try and make the action stand alone, so we can just run it in the github action without needing earthly
or installing dependencies.

@stevenj stevenj added the do not merge yet PR is not ready to be merged yet label Jan 31, 2025
@stevenj stevenj requested a review from minikin January 31, 2025 09:45
@stevenj stevenj self-assigned this Jan 31, 2025
@stevenj stevenj marked this pull request as draft January 31, 2025 09:45
@stevenj stevenj marked this pull request as ready for review February 5, 2025 12:56
@stevenj stevenj changed the title Feat/validate project fields in prs and issues sj Feat(ci): validate project fields in prs and issues Feb 5, 2025
@minikin minikin merged commit a2b3bbe into feat/validate-project-fields-in-prs-and-issues Feb 5, 2025
1 of 5 checks passed
@minikin minikin deleted the feat/validate-project-fields-in-prs-and-issues-sj branch February 5, 2025 13:03
minikin added a commit that referenced this pull request Feb 6, 2025
* ci: add project-fields-validator

* chore: update python and earthly

* Update Earthfile

* feat: update ProjectFieldsValidator

* chore: refactor python code

* Update README.md

* Update main.py

* chore: ci lint fixes

* Update Earthfile

* Update Earthfile

* Update Earthfile

* Update Earthfile

* Update Earthfile

* Update Earthfile

* feat: add GitHub action

* Update validate-project-fields.yml

* Update validate-project-fields.yml

* wip: clean up

* chore: add GITHUB_TOKEN

* Update Earthfile

* Update validate-project-fields.yml

* Update validate-project-fields.yml

* Update validate-project-fields.yml

* wip

* wip

* wip

* Update validate-project-fields.yml

* wip

* wip: testing

* wip: testing

* wip: testing

* wip: testing

* wip: cleanup

* Update main.py

* Update main.py

* Update main.py

* Update validate-project-fields.yml

* Feat(ci): validate project fields in prs and issues  (#374)

* feat(cat-ci): Make the action only use python standard libraries so its easier to use outside earthly

* feat(python): Add feature to check stand alone python files (no 3rd party imports, no poetry)

* feat(python): make check use stand alone python mode

* feat(python): add local coce formater and linter check for python

* feat(python): more edits for stand alone mode and debugging

* fix(python): third parry imports check needs rust

* fix(python): fix ci issues with changes made

* fix(python): Fix CI issues found with the improved python tooling

* fix(cat-ci): remove debug prints

* fix(cat-ci): project action runner

* fix(cat-ci): try action again

* fix(cat-ci): Try and actually run the action now

* fix(cat-ci): try a custom PAT secret

* fix(cat-ci): Update token scope doc

* fix(cat-ci): Rename GITHUB_TOKEN to make it distinct from other tokens

* fix(cat-ci): secrets can't start with GITHUB_

* Update validate-project-fields.yml

* Update validate-project-fields.yml

* Update validate-project-fields.yml

---------

Co-authored-by: Joshua Gilman <[email protected]>
Co-authored-by: Steven Johnson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do not merge yet PR is not ready to be merged yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants